FROM openjdk:8-jdk-alpine
VOLUME /tmp
ADD docker_springmybatis-1.0.jar app.jar
EXPOSE 8080
ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","/app.jar"]
CMD java -jar app.jar